﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace MapEditor
{
    public class Object
    {
        public Point Pos { get; set; }

        public int Width { get; set; }
        public int Height { get; set; }

        public int ID { get; set; }


        /// <summary>
        /// Instanciates a new object
        /// </summary>
        /// <param name="pos">The origin position.</param>
        /// <param name="width">The width of the object.</param>
        /// <param name="height">The height of the object.</param>
        /// <param name="id">The id of the object</param>
        public Object(Point pos, int width, int height, short id)
        {
            this.Pos = pos;
            this.Width = width;
            this.Height = height;
            this.ID = id;
        }

    }
}
